<section class="scrollable padder-md" data-ng-controller="CreateBillController">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded  btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-black">
            <i class="fa fa-edit m-r-sm"></i>
            生成账单
        </h3>
    </div>

    <section class="panel panel-default">
        <div class="panel-body">
            <form name="billForm" class="form-horizontal">
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        选择司机：
                    </label>
                    <div class="col-md-8">
                        <div class="input-group" data-ng-click="selectDriver()">
                            <div class="form-control">{{driver.nickname}}</div>
                            <a href="javascript:void(0);" class="input-group-addon">选择司机</a>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        年份：
                    </label>
                    <div class="col-md-8">
                        <select data-required="true"
                                class="input-sm form-control"
                                data-ng-model="year"
                                data-ng-options="year.value as year.name for year in years">
                            <option value="">--选择年份--</option>
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        月份：
                    </label>
                    <div class="col-md-8">
                        <select data-required="true"
                                class="input-sm form-control"
                                data-ng-model="month"
                                data-ng-options="month.value as month.name for month in months">
                            <option value="">--选择月份--</option>
                        </select>
                    </div>
                </div>

                <!-- 按钮 -->
                <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                    <button type="button" class="btn btn-default" data-ng-click="close()">
                        <i class="i i-arrow"></i>
                        &nbsp;返回
                    </button>
                    <button type="submit" class="btn btn-success" data-ng-click="createBillForMonth()">
                        <i class="fa fa-flash"></i>
                        &nbsp;生成账单
                    </button>
                </div>
            </form>
        </div>
    </section>
</section>
